package com.ruoyi.system.mapper;


import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //根据用户名查询用户
    SysUser selectUserByUserName(String username);

    //注册用户
    int insertUser(SysUser user);

    //根据手机号查询用户
    SysUser selectUserByPhoneNum(String phonenumber);


    //根据用户名或者手机号来查询用户
//    List<SysUser> selectUserByUser(RegisterDTO registerDTO);
}
